import type { RouteRecordRaw } from 'vue-router';

import { BasicLayout } from '#/layouts';


const Routes: RouteRecordRaw[] = [
  {
    component: BasicLayout,
    meta: {
      icon: 'lucide:layout-dashboard',
      order: 1,
      title: '运单发放',
    },
    name: 'DyffPage',
    path: '/YuanTong/ydff',
    children: [
      {
        name: 'Dhcx',
        path: '/dhcx',
        component: () => import('#/views/YuanTong/ydff/dhcx.vue'),
        meta: {
          affixTab: true,
          icon: 'lucide:area-chart',
          title: '单号查询',
        },
      },
      {
        name: 'Ck',
        path: '/ck',
        component: () => import('#/views/YuanTong/ydff/ck.vue'),
        meta: {
          icon: 'carbon:workspace',
          title:'出库',
        },
      },
      {
        name: 'Rk',
        path: '/rk',
        component: () => import('#/views/YuanTong/ydff/rk.vue'),
        meta: {
          icon: 'carbon:workspace',
          title: '入库',
        },
      },
    ],
  },
];

export default Routes;
